{{extends file="frontend/layout.tpl"}}

{{block name=title}}{{$title}}{{/block}}

{{block name=header}}
    <link rel="stylesheet" href="{{$base_url}}/assets/css/bootstrap.min.css">
{{/block}}

{{block name=content}}
    <h1>{{$title}}</h1>
    
    <ul class="user-list">
        {{foreach $users as $user}}
            <li>
                <strong>{{$user.name|escape}}</strong>
                <div>Email: {{$user.email|escape}}</div>
            </li>
        {{/foreach}}
    </ul>
{{/block}}

{{block name=script}}
    <script src="{{$base_url}}/assets/js/bootstrap.min.js"></script>
{{/block}}